package com.woniuxy.demo.epai.dao;

import com.woniuxy.demo.epai.model.Artical;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.demo.epai.model.Classify;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * <p>
 * 文章表 Mapper 接口
 * </p>
 *
 * @author epai
 * @since 2021-04-12
 */

public interface ArticalMapper extends JpaRepository<Artical,Integer>, JpaSpecificationExecutor<Artical> {

    List<Artical> findByType(int cid);
}
